<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include virtual="/2010admin/Common/Query_List_GetSQL.asp"-->
<!--#include virtual="/2010admin/Check_Priv.asp"-->

<%
'==========================================
'**********	Modify  Start  ****************
dim TITLE,DISPFILD,PAGESIZE,SQL,HV
dim AddLabel,addURL,delURL,editURL,detailURL,detailURLsn
TITLE="彩票开奖信息"
DISPFILD="LI_Type<彩票类型,LI_Number<开奖号码,LI_NO<期数,LI_Open_Date<开奖日期"
PAGESIZE="20"
HV="H"
AddLabel="增加信息"
addURL="Lott_Info_AE.asp"
delURL="Lott_Info_Del.asp"
editURL="Lott_Info_AE.asp"
detailURL_target="_blank"
detailURLsn=1


'其他子操作列表 以#分隔
'Other_Title = "图库"
'Other_Url   = "Info_Pic_Query.asp"

'置顶排序分类
Sort_Name="彩票信息"


'设置置顶文件
Set_Top_URL = "Lott_Info_Set_Top.asp"

'排序操作文件
Sort_Url 	= "Lott_Info_Sort.asp"

Sort_Title  = "排序"


sql = "SELECT LI_ID AS Info_ID,LI_Type,LI_Number,LI_NO,LI_Open_Date"&_
	  " FROM Lott_Info WHERE 1=1  "

LI_NO		= reform("LI_NO")
LI_Type		= reform("LI_Type")

sql = LikeSql("LI_NO",LI_NO,sql)
sql = EqualSql("LI_Type",LI_Type,sql)

sql = sql &" ORDER BY LI_Open_Date DESC "

'**********	Modify  Stop  *****************
'==========================================

If Request.form("previous")="上一页" Then PageNo=request.form("PageNo")-1
If Request.form("next")="下一页" Then PageNo=request.form("PageNo")+1
If Request.form("GotoPageNo")<>"" Then PageNo=request.form("GotoPageNo")
If Request.form("GotoPageNo2")<>"" Then	PageNo=request.form("GotoPageNo2")
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><%=Title%></title>
<link href="/2010admin/css/constyle.css" type="text/css" rel="stylesheet">
</head>
<script language="javascript" src="/2010admin/js/function.js"></script>
<body>
<div id="s-content" class="show">
<form method="post" name="form">
<div class="s-hd">
		<div class="s-hd-left">
		<span class="title"><strong><%=TITLE%></strong></span> <span class="ii"> | </span> <span class="inavs"><%if addURL<>"" then%><a href="<%=addURL%>"><%=AddLabel%></a><%end if%><% If Sort_Title<>"" Then %><span class="ii"> | </span><a href="<%=Sort_URL%>"><%=Sort_Title%></a><% End If %></span>
        </div>
        <div class="s-hd-right"><label>期数:</label> <input name="LI_NO" class="itxt" id="LI_NO" Value="<%=LI_NO%>" style="width:160px;"> <label>类型</label> <% MySelected "LI_Type","七星彩,海南彩","七星彩,海南彩","全部",LI_Type%> 
	    <input type="submit" value="搜索" name="search">
            </div>
    </div>
    <div class="s-bd">
	<%
		IF NOT Query_List_GetSQL(DISPFILD,SQL,PAGESIZE,HV,delURL,editURL,detailURL,detailURLsn) THEN
		Response.Write "<div id=""err"">程序执行错误！请与系统管理员联系！</div>"
		END If
    %>
    </div>
<%
Call conn_close()
%>
</form>
</div>

</body>
</html>
